/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.dataaccess;


import cassys.datatransferobjects.UserDTO;
import java.util.ArrayList;

/**
 *
 * @author Priyanka
 */
public interface UserDAO {
    
    public void insertOrUpdateUser(UserDTO user)throws DAOException;
    public void deleteUser(UserDTO user)throws DAOException;
    public UserDTO findUser(String userId)throws DAOException;
    public UserDTO findUserByName(String username) throws DAOException;
    public ArrayList<UserDTO> findAllUser()throws DAOException;
}
